import { createApp } from "vue";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import router from "./router";
import "./style.css";
import locale from "element-plus/lib/locale/lang/zh-cn";
import axios from "axios";
import "../../homestaymanage/src/assets/font-icon/iconfont.css";
import "../../homestaymanage/src/assets/font-icon/iconfont.js";

import App from "./App.vue";
// axios.defaults.baseURL = "http://127.0.0.1:8080";
axios.defaults.baseURL = "/api";

createApp(App).use(ElementPlus, { locale }).use(router).mount("#app");
